
import classNames from 'classnames';
import React from 'react';
import styles from './index.less';

interface DownLoadMaterialProps {
  size?: 's' | 'm' | 'l'
  onClick?: () => void;
}
export const DownLoadMaterial: React.FC<DownLoadMaterialProps> = ({ size = 'm', onClick }) => {
  return <div className={classNames(styles.downloadMaterial, styles[size])} onClick={() => onClick?.()}>
    <div className={styles.left}><i className={styles.wj} />下载课程素材</div>
    <div className={styles.right}><i className={styles.xz} /></div>
  </div>
}
